package com.nmc.core.dao;

import java.util.List;

import com.nmc.model.Zone;

public class ZoneDAOImpl extends BaseDAO implements ZoneDAO {

	public List getZoneList() {
		
		return this.getHibernateTemplate().loadAll(Zone.class);
	}

	public Zone getZone(int zoneId) {
		return (Zone)this.getHibernateTemplate().get(Zone.class, zoneId);
	}
	
}
